package com.haoxi.gateway.runner;

import java.util.Map;

import com.haoxi.gateway.common.Queue;
import com.haoxi.gateway.runner.process.SubmitStatusThread;

public class SubmitStatusDeamon extends AbsDaemon {
    
    private final String MY_NAME = "SubmitStatusDeamon";
    private Map submitStatus;
    
    public SubmitStatusDeamon(Queue inQueue, Map map) {
        super(inQueue);
        this.submitStatus = map;
        this.name = MY_NAME;
    }
    
    public IRun getThread() {
        return new SubmitStatusThread(getQueue(), this.submitStatus);
    }

}
